package com.sky.zzh.setting;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;

import com.sky.zzh.BaseFragment;
import com.sky.zzh.R;
/**
 * 关于
 * @author skypan
 *
 */
public class AboutFragment extends BaseFragment {

	private ImageView mBtnBack;
	private ImageView mIvAbout;
	
	@Override
	public void onViewCreated(View view, Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onViewCreated(view, savedInstanceState);
		mBtnBack = (ImageView) view.findViewById(R.id.btn_back);
		mIvAbout = (ImageView) view.findViewById(R.id.iv_about);
//		mIvAbout.setLayoutParams(new LinearLayout.LayoutParams(LinearLayout.LayoutParams.MATCH_PARENT/1920*1080, LinearLayout.LayoutParams.MATCH_PARENT));
		mBtnBack.setOnClickListener(new OnClickListener() {
			
			@Override
			public void onClick(View arg0) {
				// TODO Auto-generated method stub
				getActivity().finish();
			}
		});
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		View view = inflater.inflate(R.layout.fragment_about, container, false);
		return view;
	}

}
